package java_DesignPattern.StructuralPattern.BridgePattern;

/**
 * 桥接模式---测试类
 */
public class Test {

    public static void main(String[] args) {

        //创建一个windows系统
        Systems windows = new Windows(new AviFile());
        windows.play("test.avi");

        //创建一个mac系统
        Systems mac = new Mac(new MvFile());
        mac.play("test.mv");
    }
}
